<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type='text/javascript' src='http://localhost/oshop/hdphp/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/oshop/hdphp/hdphp/../hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<script src='http://localhost/oshop/hdphp/hdphp/../hdjs/js/hdjs.js'></script>
<script src='http://localhost/oshop/hdphp/hdphp/../hdjs/js/slide.js'></script>
<script src='http://localhost/oshop/hdphp/hdphp/../hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
		HOST = 'http://localhost';
		ROOT = 'http://localhost/oshop';
		WEB = 'http://localhost/oshop/admin.php';
		URL = 'http://localhost/oshop/admin.php/Index/GoodsAttr/edit/ac_id/98';
		HDPHP = 'http://localhost/oshop/hdphp/hdphp';
		HDPHPDATA = 'http://localhost/oshop/hdphp/hdphp/Data';
		HDPHPTPL = 'http://localhost/oshop/hdphp/hdphp/Lib/Tpl';
		HDPHPEXTEND = 'http://localhost/oshop/hdphp/hdphp/Extend';
		APP = 'http://localhost/oshop/admin.php/Index';
		CONTROL = 'http://localhost/oshop/admin.php/Index/GoodsAttr';
		METH = 'http://localhost/oshop/admin.php/Index/GoodsAttr/edit';
		GROUP = 'http://localhost/oshop/Oshop';
		TPL = 'http://localhost/oshop/Oshop/Admin/Index/Tpl';
		CONTROLTPL = 'http://localhost/oshop/Oshop/Admin/Index/Tpl/GoodsAttr';
		STATIC = 'http://localhost/oshop/Static';
		PUBLIC = 'http://localhost/oshop/Oshop/Admin/Index/Tpl/Public';
		HISTORY = 'http://localhost/oshop/admin.php/Index/GoodsAttr/index/aid/31';
		HTTPREFERER = 'http://localhost/oshop/admin.php/Index/GoodsAttr/index/aid/31';
</script>
	<script type="text/javascript" src="http://localhost/oshop/Oshop/Admin/Index/Tpl/GoodsAttr/js/js.js"></script>
</head>
<body>
	<div class="wrap">
	<div class="menu_list">
					<ul>
						<li>
							<a class="action" href="<?php echo U('index',array('aid'=>Q('aid')));?>">
								属性类型
							</a>
						</li>
						<li>
							<a href="javascript:;">
								添加属性
							</a>
						</li>
					</ul>
				</div>
	<form  method="post" class="hd-form">
		<input type="hidden" name="show_type" value="<?php echo $data['show_type'];?>">
		<table class="table2">
			<tr>
				<td class="w100" style="font-size:20px">属性名称</td>
				<td>
					<input type="text" name="attr_name" id="" value="<?php echo $data[attr_name];?>" class="w300">
				</td>
			</tr>
			<tr>
				<td class="w100" style="font-size:20px">类型</td>
				<td class="w100" style="font-size:20px" colspan="2">
					规格 <input type="radio" name="is_spec" id="" value="1" <?php if($data['is_spec'] == 1){?>checked=""<?php }?> >
					普通属性 <input type="radio" name="is_spec" id="" value="2" <?php if($data['is_spec'] == 2){?>checked =""<?php }?>>
				</td>
			</tr>
		</table>
		<div id="getShowType"></div>
		<div>
			<?php require $TplFiled;?>
		</div>
               <div class='position-bottom'>
					<input type="submit" value="确定" class='hd-success'>
	    </div>
	</form>
</div>


</body>
</html>